Performance Considerations with Dynamic Arrays
Dynamic arrays require more “overhead” than comparable static arrays in order to allocate memory during script execution and to maintain array values. As a result, scripts using dynamic arrays may execute more slowly than scripts using static arrays.
It is highly recommended that you use static arrays wherever possible for the best possible script performance. If dynamic arrays are required in your scripts, avoid making frequent calls to ALLOCATE to reserve storage. Use ALLOCATE only when absolutely necessary to change reserved storage during script execution, and avoid any use of ALLOCATE inside of a loop or repetition statement (see Repetition Statements for details on these statement types).

Arrays in VectorScript : Dynamic Arrays : Performance Considerations with Dynamic Arrays

Nemetschek NA
Phone: 410.290.5114
Fax: 410.290.8050